<?php
namespace Admin\Controller;
use Think\Controller;
class IndexController extends Controller {
    public function index(){
    	if(!session('adminUser')){//未登录跳转到登录
    		$this->redirect('/admin/login');
    	}
        $this->display();
	}
	public function check(){
		echo "hello!";
	}
}